package com.gack.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.query.Param;

import com.gack.business.model.HelpCenter;

public interface HelpCenterRepository extends JpaRepository<HelpCenter, String>, JpaSpecificationExecutor<HelpCenter> {
	HelpCenter findByTitle(@Param("title") String title);
	
	List<HelpCenter> findByStatus(@Param("status") Integer status);

}
